# Contributor: Marvin Steadfast <marvin@xsteadfastx.org>
# Maintainer: Marvin Steadfast <marvin@xsteadfastx.org>
pkgname=libupnpp
pkgver=0.19.2
pkgrel=0
pkgdesc="C++ wrapper for libupnp"
url="https://framagit.org/medoc92/libupnpp"
arch="all"
license="LGPL-2.0-or-later"
options="!check"
makedepends="curl-dev expat-dev libnpupnp-dev"
subpackages="$pkgname-dev"
source="libupnpp-$pkgver.tar.gz::http://www.lesbonscomptes.com/upmpdcli/downloads/libupnpp-$pkgver.tar.gz"

build() {
	./configure --prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="7c9a7586c095f8f28623903f79681745dbe228ef697a7cc0fba29c6501092f930d8c160ea9ff88d854e48b0f537c3e5665086dafc1e9cbeb1605cdfab13e592c  libupnpp-0.19.2.tar.gz"
